package 重温_Java并发基础.code.master_worker;

/**
 * @author idea
 * @data 2020/2/15
 */
public class PlusWorker extends Worker{

    @Override
    public Object handle(Object input) throws InterruptedException {
        Integer val= (Integer) input;
        Thread.sleep(1000);
        return val;
    }
}
